package com.lxmes.device.domain;

import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备故障维修验证对象 device_failure_check
 * 
 * @author 张志煜
 * @date 2022-04-26
 */
public class DeviceFailureCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 维修单号 */
    @Excel(name = "维修单号")
    @ApiModelProperty("维修单号")
    private String repairId;

    /** 报修单号 */
    @Excel(name = "报修单号")
    @ApiModelProperty("维修单号")
    private String reportId;

    /** 维修评分 */
    @Excel(name = "维修评分")
    @ApiModelProperty("维修评分1-5分")
    private String repairScore;

    /** 验证状态 */
    @Excel(name = "验证状态")
    @ApiModelProperty("验证状态 2-驳回 4-完成")
    private String isFinish;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRepairId(String repairId) 
    {
        this.repairId = repairId;
    }

    public String getRepairId() 
    {
        return repairId;
    }
    public void setReportId(String reportId) 
    {
        this.reportId = reportId;
    }

    public String getReportId() 
    {
        return reportId;
    }
    public void setRepairScore(String repairScore) 
    {
        this.repairScore = repairScore;
    }

    public String getRepairScore() 
    {
        return repairScore;
    }
    public void setIsFinish(String isFinish) 
    {
        this.isFinish = isFinish;
    }

    public String getIsFinish() 
    {
        return isFinish;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("repairId", getRepairId())
            .append("reportId", getReportId())
            .append("remark", getRemark())
            .append("repairScore", getRepairScore())
            .append("isFinish", getIsFinish())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
